*{
    margin: 0;padding: 0;
}
.header{
    background-color: black;
    color: white;
    height: 80px;
}
.content{
    width: 80%;
    margin: 0 auto;
    overflow: hidden;/*清除浮动*/
}
.header_box{
    float: left;
}
.header_box:nth-of-type(1){
    width: 25%;
}
.header_box:nth-of-type(1) img{
    height: 50px;
    margin-top: 15px;
    float: left;
}
.header_box:nth-of-type(1) span{
    line-height: 80px;
    color: #b9b5b5;
}
.header_box:nth-of-type(2){
    width: 50%;
}
.header_box:nth-of-type(2) ul{
    list-style-type: none;
    overflow: hidden;
}
.header_box:nth-of-type(2) ul li{
    float: left;
    width: 20%;
    text-align: center;
}
.header_box:nth-of-type(2) ul li span{
    color: white;
    line-height: 80px;
}
.header_box:nth-of-type(2) ul li.active span{
    color: red;
}
.header_box:nth-of-type(3){
    width: 25%;
    text-align: right;
}
.header_box:nth-of-type(3) img{
    height: 40px;
    margin-top: 20px;
    float:right;cursor: pointer;
}
.header_box:nth-of-type(3) span{
    line-height: 80px;
    float:right;
    margin-left:20px ;
}
.header_box:nth-of-type(3) button{
    float: right;
    width: 100px;
    height: 40px;
    margin-top: 20px;
    margin-left: 20px;
    background-color: transparent;color:white;
    border: 1px solid white;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
}
.header_box:nth-of-type(3) button:hover{
    background-color: red;
}